<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a >评论列表</a></li>
		</ul>
			<div class="table-actions">
				<form class="well form-search" name="form1" method="post" action="">

					关键字：
					<input type="text" name="keyword" style="width: 200px;" value="{$formget.keyword}" placeholder="请输入视频名称">
					<input type="button" class="btn btn-primary" value="搜索" onclick="form1.action='{:U('Video/commentlist')}';form1.submit();"/>

				</form>
			</div>
		
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th align="center">ID</th>
						<th>评论人</th>
						<th>视频名称</th>
						<th>评论内容</th>
						<th>更新时间</th>
						<th align="center">{:L('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="lists" item="vo">
					<tr>
						<td align="center">{$vo.id}</td>
						<td>{$vo['uname']}</td>
						<td>{$vo['video_name']}</td>
						<td>{$vo['content']}</td>
						<td>{$vo.uptime|date="Y-m-d H:i:s",###}</td>

						<td align="center">	
							<a href="{:U('Video/seecomment',array('id'=>$vo['id']))}" >查看</a>
							<a href="{:U('Video/delcomment',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="您确定要删除吗？">删除</a>

						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>

	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>